package com.example.home.api

import com.example.home.entity.SimpleTypeEntity
import com.example.home.entity.VideoListEntity
import com.example.net.BaseResponse
import retrofit2.http.GET
import retrofit2.http.Query

interface VideoApiService {
    @GET("/videotype/getSimpleType")
    suspend fun getVideoType(): BaseResponse<List<SimpleTypeEntity>>
    @GET("/videosimple/getSimpleVideoByChannelId")
    suspend fun getVideoList(@Query("channelId") id:String,@Query("page") page:Int,@Query("pagesize") size:Int):BaseResponse<List<VideoListEntity>>
}